//
//  ViewController.m
//  ZHCTMediatorDemo
//
//  Created by 赵宏亚 on 2019/8/12.
//  Copyright © 2019 Arthur. All rights reserved.
//

#import "ViewController.h"
#import <CTMediator/CTMediator.h>
#import "CTMediator+A.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];

}

- (IBAction)click:(UIButton *)sender {
    
    UIViewController *viewControler = [[CTMediator sharedInstance] categoryWithAction:@"AViewController" param:@{@"name": @"张三"}];
    [self.navigationController pushViewController:viewControler animated:YES];
}




@end
